package de.tsystems.dict.api.impl;

import de.tsystems.dict.model.Language;
import de.tsystems.dict.model.Translation;
import de.tsystems.dict.model.Word;

import java.util.List;

public interface WordDao extends Dao<Word> {
    Class<Word> getEntityClass();

    Word findByTextAndLanguage(String text, Language language);

    Word create(String text, Language language);

    List<Translation> getTranslations(Word word);
}
